package com.amuse.amuse.service;

import com.amuse.amuse.entity.PageBean;
import com.amuse.amuse.entity.clubAnnouncements;
import com.amuse.amuse.entity.clubApplications;
import com.amuse.amuse.entity.clubs;

public interface ClubPermissionsService {
    //社长添加社团公告
    public Integer addClubAnnouncements(String announcementId,Integer clubId,String content,String publishDate,String title);
    //社长删除公告
    public Integer deleteClubAnnouncements(String announcementId,Integer clubId);
    //社长修改公告
    public Integer updateClubAnnouncements(Integer clubId,String announcementId, String title, String content, String publishDate);
    //社长修改社团介绍
    public Integer updateClubDescription(Integer clubId, String description);
    //社长。学生查询社团公告
    public PageBean<clubAnnouncements> findClubAnnouncements(Integer pageNum, Integer pageSize,Integer clubId);
    //社长。学生查询社团资料
    public PageBean<clubs> findClubsInfo(Integer pageNum, Integer pageSize,String clubName);
    //学生申请加入社团
    public Integer StudentsApplyToClub(Integer clubId, Integer studentId);
    //社长审核学生申请
    public Integer updateClubApplications(Integer status, Integer studentId, Integer clubId);
    //社长通过申请添加社团成员
    public Integer addClubMembers(Integer clubId);
    //社长查询社团申请
    public PageBean<clubApplications> findClubApplications(Integer pageNum, Integer pageSize,Integer clubId);

    //学生社长查看社团容量
    public clubs getCurrentMember(Integer clubId);

}
